'Declaration
Public Function BeginConnect( _ ByVal endpointUrl As Uri, _ ByVal callback As EventHandler(Of IMessageSocketAsyncEventArgs), _ ByVal state As Object _ ) As Boolean
'Usage
Dim instance As TcpMessageSocket Dim endpointUrl As Uri Dim callback As EventHandler(Of IMessageSocketAsyncEventArgs) Dim state As Object Dim value As Boolean value = instance.BeginConnect(endpointUrl, callback, state)
public bool BeginConnect( Uri endpointUrl, EventHandler<IMessageSocketAsyncEventArgs> callback, object state )
public: bool BeginConnect( Uri^ endpointUrl, EventHandler<IMessageSocketAsyncEventArgs^>^ callback, Object^ state )
Parameters
- endpointUrl
- callback
- state